{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
 <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post"  enctype="multipart/form-data">
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">修改财务管理</p>
                </div>
                    <div class="box-body">
                         <div class="form-group">
							  <label for="inputPassword3" class="col-md-1 control-label" style="padding-right:0; padding-left:0; font-weight:500;">
								   标题：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <input type="text" class="form-control" name="financetable_title" value="{%$financetable_data.financetable_title%}"> 
							  </div> 
						 </div>
						 <div class="form-group">
							  <label for="inputPassword3" class="col-md-1 control-label" style="padding-right:0; padding-left:0; font-weight:500;">
								   学年学期：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								  <select class="form-control" name="semester_id">
									{%foreach from=$semester_lists key=key item=value%}
									<option value="{%$value.semester_id%}"{%if $value.semester_id == $financetable_data.semester_id%}selected{%/if%}>{%$value.semester_xname%}第{%$value.semester_name%}学期</option>
									{%/foreach%} 
								</select> 
							  </div>
						</div>
						<div class="form-group">
							  <label for="inputPassword3" class="col-md-1 control-label" style="padding-right:0; padding-left:0; font-weight:500;">
								   附件：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
											{%if $financetable_data.financetable_file!=""%}
											<br><input type="radio" name="financetable_file_re" value="0" checked>
											<a href="upload/financetable_file/{%$financetable_data.financetable_file%}" target="_blank">{%$financetable_data.financetable_file%}</a>
											<br><br><input type="radio" name="financetable_file_re" value="1" > 重新上传 <input id="financetable_file" name="financetable_file" type="file" size="60"/>
											{%else%}
                                            <input id="financetable_file" name="financetable_file" type="file" size="60"/>
											<input type="hidden" name="financetable_file_re" value="1">
											{%/if%}

						  </div> 
					    </div>						 
						 
				    </div><!--box-body -->
					<div class="box-footer text-center">
					     <button type="submit" class="btn btn-primary">确 定</button>
					</div>
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
